package inference;

import basics.VectorMatrix;
import probability.GaussianDistribution;
import probability.ProbabilityDistribution;

public class BeliefMessage implements Message<ProbabilityDistribution> {

	private ProbabilityDistribution _distribution;

	private VectorMatrix _value;

	public ProbabilityDistribution getDistribution() {
		return _distribution;
	}

	public void setDistribution(ProbabilityDistribution distribution) {
		this._distribution = distribution;
	}

//	public VectorMatrix getValue() {
//		return _value;
//	}

	public void setValue(VectorMatrix value) {
		this._value = value;
	}

	public BeliefMessage(ProbabilityDistribution distribution, VectorMatrix value) {
		this._distribution = distribution;
		this._value = value;
	}

	public BeliefMessage() {
	}

	public BeliefMessage(ProbabilityDistribution d) {
		this._distribution = d;
	}

	public BeliefMessage(VectorMatrix mv) {
		this._value = mv;
	}

	@Override
	public ProbabilityDistribution content() {
		return _distribution;
	}
}
